﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace Models
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("UserInfo")]
    public partial class UserInfo
    {
           public UserInfo(){


           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
           public int UserInfoID {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsOnlyIgnoreUpdate =true)]
           public int UserID {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string NickName {get;set;}

           /// <summary>
           /// Desc:
           /// Default:~/Content/Images/avatar-defalut.jpg
           /// Nullable:True
           /// </summary>           
           [SugarColumn(IsOnlyIgnoreInsert = true)]
           public string AvatarUrl {get;set;}

           /// <summary>
           /// Desc:性别 1-女，2-男，3-保密
           /// Default:3
           /// Nullable:True
           /// </summary>           
           /// 
           [SugarColumn(IsOnlyIgnoreInsert =true)]
           public int Sex {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Intro {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Contact {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>         
           public DateTime? UpdatedAt {get;set;}

    }
}
